#ifndef HOUR_H
#define HOUR_H
#include "employee.h"

class HourEmployee:virtual public Employee{
		double wage;
		double hour;
		public:
			HourEmployee(const string&, const string&,const string&,double =0.0,double =0.0);
			
			void setWage(double);
			double getWage()const;
			
			void setHour(double);
			double getHour()const;
			
			virtual double earnings() const;
			virtual void print() const;
};
#endif
